package comp6231.project.common;

public class Constants {

	// For UDP multicast between RM and Replicas
	public static final String RM_MULTICAST_GROUP_MONTREAL		= "224.88.0.1";
	public static final String RM_MULTICAST_GROUP_TORONTO		= "224.88.0.2";
	public static final String RM_MULTICAST_GROUP_VANCOUVER	= "224.88.0.3";	
	public static final int RM_MULTICAST_PORT = 10800;
	
	// UDP port DRS listen for messages from RM
	public static final int DRS_PORT = 10900;
	
	// UDP port RM listen for messages from Replica
	public static final int RM_PORT_MONTREAL = 11000;
	public static final int RM_PORT_TORONTO = 11010;
	public static final int RM_PORT_VANCOUVER = 11020;
	
	public static final String REPLICA_ID_M1	= "M1";
	public static final String REPLICA_ID_M2	= "M2";
	public static final String REPLICA_ID_M3	= "M3";
	public static final String REPLICA_ID_T1	= "T1";
	public static final String REPLICA_ID_T2	= "T2";
	public static final String REPLICA_ID_T3	= "T3";
	public static final String REPLICA_ID_V1	= "V1";
	public static final String REPLICA_ID_V2	= "V2";
	public static final String REPLICA_ID_V3	= "V3";
}
